{include file="public/_meta"}

<div class="col-xs-12 col-sm-12">
    <div class="codeView" style="margin-top: 20px;">
        <div class="Huialert Huialert-success"><i class="Hui-iconfont"></i>保护</div>
        <div class="panel panel-default">
            <div class="panel-body">
                <form action="{:url('/shelter')}" method="post" class="form form-horizontal responsive" id="demoform" novalidate="novalidate">
                    <div class="row cl">

                        <div class="formControls col-xs-10">
                            <div class="check-box">

                                <input type="checkbox" <?php if($rate==1)echo "checked='checked'"?> name="rate" value="{$rate}">
                                <label for="checkbox-1" class="">限速保护，开启后当数据比较多时，所有消息会延迟1S发送</label>
                            </div>
                        </div>
                    </div>
                    <div class="row cl">

                        <div class="formControls col-xs-10">
                            <div class="check-box">
                                <input type="checkbox"  <?php if($prefix==1)echo "checked='checked'"?>  name="prefix" value="{$prefix}">
                                <label for="checkbox-1" class="">是否开启指令前缀，如果开启后所有的指令必须加上'!'才会生效</label>
                            </div>
                        </div>
                    </div>
                    <div class="row cl">

                        <div class="formControls col-xs-10">
                            <div class="check-box">
                                <input type="checkbox" <?php if($qimg==1)echo "checked='checked'"?> style="" name="qimg" value="{$qimg}">
                                <label for="checkbox-1" class="">是否允许群员发图片，群员第一次发图会被警告，第二次会被踢</label>
                            </div>
                        </div>
                    </div>


                    <div class="row cl">
                        <div class="col-xs-8 col-xs-offset-3">
                            <input class="btn btn-primary" type="submit" value="&nbsp;&nbsp;提交&nbsp;&nbsp;">
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>

</div>

{include file="public/_footer"}